package org.example.view.componet;

import javax.swing.*;
import java.awt.*;

//自带背景的场景
public class BackgroundScene extends JLabel {

    public BackgroundScene() {
        ImageIcon image = new ImageIcon("/Users/cengyunke/Desktop/atm1/ATMGUI/src/main/java/org/example/img/background.jpg");
        this.setIcon(image);
        this.setBounds(0, 0, 1024, 768);
    }
}
